package cn.iocoder.yudao.module.shop.service.shopSettleApply;

import cn.iocoder.yudao.module.shop.controller.admin.shopSettleApply.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.shopSettleApply.ShopSettleApplyDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;

import javax.validation.Valid;

/**
 * 商户入驻申请 Service 接口
 *
 * @author 吕小文
 */
public interface ShopSettleApplyService {

    /**
     * 创建商户入驻申请
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createShopSettleApply(@Valid ShopSettleApplySaveReqVO createReqVO);

    /**
     * 更新商户入驻申请
     *
     * @param updateReqVO 更新信息
     */
    void updateShopSettleApply(@Valid ShopSettleApplySaveReqVO updateReqVO);

    /**
     * 删除商户入驻申请
     *
     * @param id 编号
     */
    void deleteShopSettleApply(Long id);

    /**
     * 获得商户入驻申请
     *
     * @param id 编号
     * @return 商户入驻申请
     */
    ShopSettleApplyDO getShopSettleApply(Long id);

    /**
     * 获得商户入驻申请分页
     *
     * @param pageReqVO 分页查询
     * @return 商户入驻申请分页
     */
    PageResult<ShopSettleApplyDO> getShopSettleApplyPage(ShopSettleApplyPageReqVO pageReqVO);

}